using System.Net;
using AndyPike.Unfuddle.Entities;

namespace AndyPike.Unfuddle.Exceptions
{
    public class UnexpectedRequestException : RequestException
    {
        public UnexpectedRequestException(string url, ErrorsCollection errors, HttpStatusCode statusCode)
            : base(url, errors, "The server returned an unexpected status code of: " + statusCode)
        {
        }
    }
}